package com.ywl.designpattern.bridge;

/**
 * 3. 创建抽象类
 * @author yuwl
 * @description 然后,我们创建一个使用 DrawAPI 接口的抽象类:
 * @since 2024-07-03 10:01
 */
public abstract class Shape {

    protected DrawAPI drawAPI;

    protected Shape(DrawAPI drawAPI) {
        this.drawAPI = drawAPI;
    }

    public abstract void draw();
}
